package com.ruoyi.workYear.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工作年限对象 ifm_work_year
 * 
 * @author ruoyi
 * @date 2024-11-01
 */
public class IfmWorkYear extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工作年限ID */
    private Long workId;

    /** 工作年限名称 */
    @Excel(name = "工作年限名称")
    private String workName;

    /** 工作年限权限字符串 */
    @Excel(name = "工作年限权限字符串")
    private String workKey;

    public void setWorkId(Long workId) 
    {
        this.workId = workId;
    }

    public Long getWorkId() 
    {
        return workId;
    }
    public void setWorkName(String workName) 
    {
        this.workName = workName;
    }

    public String getWorkName() 
    {
        return workName;
    }
    public void setWorkKey(String workKey) 
    {
        this.workKey = workKey;
    }

    public String getWorkKey() 
    {
        return workKey;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("workId", getWorkId())
            .append("workName", getWorkName())
            .append("workKey", getWorkKey())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
